/**
 * Tlacapan
 * www.tlacapan.com
 *
 * @author: Marcos Lopez
 * @since: Apr 9, 2013
 */
package com.mals.pingpong.model;


/**
 * Persists and read from local storage the game preferences.
 * @author marcosal
 *
 */
public class Preferences {
	
	// Game level
	public enum Difficulty {
		easy,
		normal,
		hard
	};
	
	// game difficulty level
	private Difficulty difficulty;
		
	// user credentials
	private User user;

	/**
	 * @return the user
	 */
	public User getUser() {
		return user;
	}

	/**
	 * @param user the user to set
	 */
	public void setUser(User user) {
		this.user = user;
	}

	/**
	 * @return the difficulty
	 */
	public Difficulty getDifficulty() {
		return difficulty;
	}

	/**
	 * @param difficulty the difficulty to set
	 */
	public void setDifficulty(Difficulty difficulty) {
		this.difficulty = difficulty;
	}
}
